package com.kelin.retrofit2rxjava2.bean;

/**
 * 作者：PengJunShan.
 *
 * 时间：On 2019-05-06.
 *
 * 描述：
 * java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 10 path $.data
 */
public class BannerBean {


  /**
   * desc : 一起来做个App吧
   * id : 10
   * imagePath : https://www.wanandroid.com/blogimgs/50c115c2-cf6c-4802-aa7b-a4334de444cd.png
   * isVisible : 1
   * order : 1
   * title : 一起来做个App吧
   * type : 0
   * url : http://www.wanandroid.com/blog/show/2
   */

  private String desc;
  private int id;
  private String imagePath;
  private int isVisible;
  private int order;
  private String title;
  private int type;
  private String url;

  public String getDesc() {
    return desc;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getImagePath() {
    return imagePath;
  }

  public void setImagePath(String imagePath) {
    this.imagePath = imagePath;
  }

  public int getIsVisible() {
    return isVisible;
  }

  public void setIsVisible(int isVisible) {
    this.isVisible = isVisible;
  }

  public int getOrder() {
    return order;
  }

  public void setOrder(int order) {
    this.order = order;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  @Override
  public String toString() {
    return "BannerBean{" +
        "desc='" + desc + '\'' +
        ", id=" + id +
        ", imagePath='" + imagePath + '\'' +
        ", isVisible=" + isVisible +
        ", order=" + order +
        ", title='" + title + '\'' +
        ", type=" + type +
        ", url='" + url + '\'' +
        '}';
  }
}
